package com.kang.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 普通入库
 * 
 * @author ysq
 *
 */
public class GeneralStorage implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * ID编号
	 */
	private Integer generalstorageid;
	/**
	 * 入库单号
	 */
	private String warehousenumber;
	/**
	 * 采购人ID
	 */
	private Integer purchaserid;
	/**
	 * 仓库ID
	 */
	private Integer warehouseid;
	/**
	 * 入库说明
	 */
	private String storageinstructions;
	/**
	 * 备注
	 */
	private String remarks;
	/**
	 * 创建人ID'
	 */
	private Integer createpersonid;
	/**
	 * 供应商ID
	 */
	private Integer supplierID;
	/**
	 * 创建时间
	 */
	private Date createdate;
	/**
	 * 最后修改人ID
	 */
	private Integer lastmodifiedid;
	/**
	 * 最后修改人时间
	 */
	private Date lastmodifiedtime;
	/**
	 * 0未提交，1已提交不可修改
	 */
	private String status;

	public Integer getSupplierID() {
		return supplierID;
	}

	public void setSupplierID(Integer supplierID) {
		this.supplierID = supplierID;
	}

	public Integer getGeneralstorageid() {
		return generalstorageid;
	}

	public void setGeneralstorageid(Integer generalstorageid) {
		this.generalstorageid = generalstorageid;
	}

	public String getWarehousenumber() {
		return warehousenumber;
	}

	public void setWarehousenumber(String warehousenumber) {
		this.warehousenumber = warehousenumber == null ? null : warehousenumber
				.trim();
	}

	public Integer getPurchaserid() {
		return purchaserid;
	}

	public void setPurchaserid(Integer purchaserid) {
		this.purchaserid = purchaserid;
	}

	public Integer getWarehouseid() {
		return warehouseid;
	}

	public void setWarehouseid(Integer warehouseid) {
		this.warehouseid = warehouseid;
	}

	public String getStorageinstructions() {
		return storageinstructions;
	}

	public void setStorageinstructions(String storageinstructions) {
		this.storageinstructions = storageinstructions == null ? null
				: storageinstructions.trim();
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks == null ? null : remarks.trim();
	}

	public Integer getCreatepersonid() {
		return createpersonid;
	}

	public void setCreatepersonid(Integer createpersonid) {
		this.createpersonid = createpersonid;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Integer getLastmodifiedid() {
		return lastmodifiedid;
	}

	public void setLastmodifiedid(Integer lastmodifiedid) {
		this.lastmodifiedid = lastmodifiedid;
	}

	public Date getLastmodifiedtime() {
		return lastmodifiedtime;
	}

	public void setLastmodifiedtime(Date lastmodifiedtime) {
		this.lastmodifiedtime = lastmodifiedtime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("GeneralStorage [generalstorageid=");
		builder.append(generalstorageid);
		builder.append(", warehousenumber=");
		builder.append(warehousenumber);
		builder.append(", purchaserid=");
		builder.append(purchaserid);
		builder.append(", warehouseid=");
		builder.append(warehouseid);
		builder.append(", storageinstructions=");
		builder.append(storageinstructions);
		builder.append(", remarks=");
		builder.append(remarks);
		builder.append(", createpersonid=");
		builder.append(createpersonid);
		builder.append(", createdate=");
		builder.append(createdate);
		builder.append(", lastmodifiedid=");
		builder.append(lastmodifiedid);
		builder.append(", lastmodifiedtime=");
		builder.append(lastmodifiedtime);
		builder.append(", status=");
		builder.append(status);
		builder.append("]");
		return builder.toString();
	}

}